/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved All rights reserved.
 */
package com.kaaction.modules.crab.dao;

import java.util.List;
import java.util.Map;

import com.kaaction.common.persistence.CrudDao;
import com.kaaction.common.persistence.annotation.MyBatisDao;
import com.kaaction.modules.crab.entity.Order;

/**
 * 订单管理DAO接口
 * @author huanghaiming
 * @version 2017-07-21
 */
@MyBatisDao
public interface OrderDao extends CrudDao<Order> {

	void updateOrder(Order order);

	Map<String, Object> selCoupon(String cardNum, String password);

	List<Order> selOrders();

	int updateState(Order order);

	int selEqual(String cardNum, String password);
	
}